<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QCustomPlot Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_q_custom_plot-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QCustomPlot Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The central class of the library. This is the QWidget which displays the plot and interacts with the user.  
 <a href="class_q_custom_plot.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for QCustomPlot:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_q_custom_plot.png" usemap="#QCustomPlot_map" alt=""/>
  <map id="QCustomPlot_map" name="QCustomPlot_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> { <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93">limBelow</a>, 
<a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>
 }</td></tr>
<tr class="separator:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45d61392d13042e712a956d27762aa39"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39">RefreshPriority</a> { <a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39a0d4831572370d871f2b7cb88806bac59">rpImmediate</a>, 
<a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39aaaae083a19bc668597bf0f86e000f798">rpQueued</a>, 
<a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332">rpHint</a>
 }</td></tr>
<tr class="separator:a45d61392d13042e712a956d27762aa39"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a9b232142c64fcf273a953ee08e5b90e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9b232142c64fcf273a953ee08e5b90e9">mouseDoubleClick</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a9b232142c64fcf273a953ee08e5b90e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca75bf9afb5dd19349c375de2a87a051"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aca75bf9afb5dd19349c375de2a87a051">mousePress</a> (QMouseEvent *event)</td></tr>
<tr class="separator:aca75bf9afb5dd19349c375de2a87a051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a742ca4f94688bed2a685fd8a56ce5704"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a742ca4f94688bed2a685fd8a56ce5704">mouseMove</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a742ca4f94688bed2a685fd8a56ce5704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac8dc0ee6bb98e923c00b4ebafbe6134d">mouseRelease</a> (QMouseEvent *event)</td></tr>
<tr class="separator:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac80a14206f99304a91d2aa55775ec3ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac80a14206f99304a91d2aa55775ec3ff">mouseWheel</a> (QWheelEvent *event)</td></tr>
<tr class="separator:ac80a14206f99304a91d2aa55775ec3ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57e5efa8a854620e9bf62d31fc139f53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, QMouseEvent *event)</td></tr>
<tr class="separator:a57e5efa8a854620e9bf62d31fc139f53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2e6f1cea923dae437681d01ce7d0c31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, QMouseEvent *event)</td></tr>
<tr class="separator:af2e6f1cea923dae437681d01ce7d0c31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">itemClick</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">itemDoubleClick</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf635f8b56ab5c16d5de9f358543e82b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis, <a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> part, QMouseEvent *event)</td></tr>
<tr class="separator:abf635f8b56ab5c16d5de9f358543e82b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6df35357460181a72da3e93d600f5256"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis, <a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> part, QMouseEvent *event)</td></tr>
<tr class="separator:a6df35357460181a72da3e93d600f5256"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a79cff0baafbca10a3aaf694d2d3b9ab3">legendClick</a> (<a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *<a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>, <a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *<a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0250f835c044521df1619b132288bca7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a0250f835c044521df1619b132288bca7">legendDoubleClick</a> (<a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *<a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>, <a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *<a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:a0250f835c044521df1619b132288bca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a2137a819e518fee7edd1c0bf5984d8d6">titleClick</a> (QMouseEvent *event, <a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *title)</td></tr>
<tr class="separator:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">titleDoubleClick</a> (QMouseEvent *event, <a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *title)</td></tr>
<tr class="separator:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a500c64a109bc773c973ad274f2fa4190"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> ()</td></tr>
<tr class="separator:a500c64a109bc773c973ad274f2fa4190"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> ()</td></tr>
<tr class="separator:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f4fa624af060bc5919c5f266cf426a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> ()</td></tr>
<tr class="separator:a6f4fa624af060bc5919c5f266cf426a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a45b99626558651a6428b83972b0b34b8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a45b99626558651a6428b83972b0b34b8">QCustomPlot</a> (QWidget *parent=0)</td></tr>
<tr class="separator:a45b99626558651a6428b83972b0b34b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19842409b18f556b256d05e97fffc670"><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a19842409b18f556b256d05e97fffc670">viewport</a> () const</td></tr>
<tr class="separator:a19842409b18f556b256d05e97fffc670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b9bbc838cb856e31b39c050fad49f9a"><td class="memItemLeft" align="right" valign="top"><a id="a5b9bbc838cb856e31b39c050fad49f9a"></a>
QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>background</b> () const</td></tr>
<tr class="separator:a5b9bbc838cb856e31b39c050fad49f9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac96f3a0f5070228ed13602976886b80"><td class="memItemLeft" align="right" valign="top"><a id="aac96f3a0f5070228ed13602976886b80"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>backgroundScaled</b> () const</td></tr>
<tr class="separator:aac96f3a0f5070228ed13602976886b80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8f1ebfdbf48d7c49f95136475d55b14"><td class="memItemLeft" align="right" valign="top"><a id="af8f1ebfdbf48d7c49f95136475d55b14"></a>
Qt::AspectRatioMode&#160;</td><td class="memItemRight" valign="bottom"><b>backgroundScaledMode</b> () const</td></tr>
<tr class="separator:af8f1ebfdbf48d7c49f95136475d55b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1a1f1f571237deb7c2bd34a5e9f018f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af1a1f1f571237deb7c2bd34a5e9f018f">plotLayout</a> () const</td></tr>
<tr class="separator:af1a1f1f571237deb7c2bd34a5e9f018f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a631762eb183aceecee73d30e108641ee"><td class="memItemLeft" align="right" valign="top"><a id="a631762eb183aceecee73d30e108641ee"></a>
QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>antialiasedElements</b> () const</td></tr>
<tr class="separator:a631762eb183aceecee73d30e108641ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75571bc5b2167e83def132fc993091b3"><td class="memItemLeft" align="right" valign="top"><a id="a75571bc5b2167e83def132fc993091b3"></a>
QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>notAntialiasedElements</b> () const</td></tr>
<tr class="separator:a75571bc5b2167e83def132fc993091b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4b87de13eaceadc8db5a66654197689"><td class="memItemLeft" align="right" valign="top"><a id="ac4b87de13eaceadc8db5a66654197689"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoAddPlottableToLegend</b> () const</td></tr>
<tr class="separator:ac4b87de13eaceadc8db5a66654197689"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c78c5fd2943c148ab76652801d3f2dc"><td class="memItemLeft" align="right" valign="top"><a id="a2c78c5fd2943c148ab76652801d3f2dc"></a>
const QCP::Interactions&#160;</td><td class="memItemRight" valign="bottom"><b>interactions</b> () const</td></tr>
<tr class="separator:a2c78c5fd2943c148ab76652801d3f2dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5441d11013afeaf4b8f2ea06e8624a25"><td class="memItemLeft" align="right" valign="top"><a id="a5441d11013afeaf4b8f2ea06e8624a25"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>selectionTolerance</b> () const</td></tr>
<tr class="separator:a5441d11013afeaf4b8f2ea06e8624a25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca3f01f903fb250a3dd27104d92830be"><td class="memItemLeft" align="right" valign="top"><a id="aca3f01f903fb250a3dd27104d92830be"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>noAntialiasingOnDrag</b> () const</td></tr>
<tr class="separator:aca3f01f903fb250a3dd27104d92830be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac724f4075822f74f7b676a790095b877"><td class="memItemLeft" align="right" valign="top"><a id="ac724f4075822f74f7b676a790095b877"></a>
QCP::PlottingHints&#160;</td><td class="memItemRight" valign="bottom"><b>plottingHints</b> () const</td></tr>
<tr class="separator:ac724f4075822f74f7b676a790095b877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28182402ed11609c9a429f0788162d18"><td class="memItemLeft" align="right" valign="top"><a id="a28182402ed11609c9a429f0788162d18"></a>
Qt::KeyboardModifier&#160;</td><td class="memItemRight" valign="bottom"><b>multiSelectModifier</b> () const</td></tr>
<tr class="separator:a28182402ed11609c9a429f0788162d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a> (const QRect &amp;rect)</td></tr>
<tr class="separator:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a130358592cfca353ff3cf5571b49fb00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a> (const QPixmap &amp;pm)</td></tr>
<tr class="separator:a130358592cfca353ff3cf5571b49fb00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8513971d6aa24d8b0d6a68d45b542130"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8513971d6aa24d8b0d6a68d45b542130">setBackground</a> (const QPixmap &amp;pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding)</td></tr>
<tr class="separator:a8513971d6aa24d8b0d6a68d45b542130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground</a> (const QBrush &amp;brush)</td></tr>
<tr class="separator:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> (bool scaled)</td></tr>
<tr class="separator:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> (Qt::AspectRatioMode mode)</td></tr>
<tr class="separator:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f91e5eab1be85f67c556e98c3745e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> (const QCP::AntialiasedElements &amp;antialiasedElements)</td></tr>
<tr class="separator:af6f91e5eab1be85f67c556e98c3745e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef813bcf7efab8e765f9f87ec454691"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aeef813bcf7efab8e765f9f87ec454691">setAntialiasedElement</a> (<a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> antialiasedElement, bool enabled=true)</td></tr>
<tr class="separator:aeef813bcf7efab8e765f9f87ec454691"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae10d685b5eabea2999fb8775ca173c24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> (const QCP::AntialiasedElements &amp;notAntialiasedElements)</td></tr>
<tr class="separator:ae10d685b5eabea2999fb8775ca173c24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc657938a707c890e449ae89203a076d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afc657938a707c890e449ae89203a076d">setNotAntialiasedElement</a> (<a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> notAntialiasedElement, bool enabled=true)</td></tr>
<tr class="separator:afc657938a707c890e449ae89203a076d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8858410c2db47b7104040a3aa61c3fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad8858410c2db47b7104040a3aa61c3fc">setAutoAddPlottableToLegend</a> (bool on)</td></tr>
<tr class="separator:ad8858410c2db47b7104040a3aa61c3fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> (const QCP::Interactions &amp;interactions)</td></tr>
<tr class="separator:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a422bf1bc6d56dac75a3d805d9a65902c">setInteraction</a> (const <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> &amp;interaction, bool enabled=true)</td></tr>
<tr class="separator:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dc31241d7b09680950e19e5f971ed93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a> (int pixels)</td></tr>
<tr class="separator:a4dc31241d7b09680950e19e5f971ed93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a775bdcb6329d44701aeaa6135b0e5265"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a775bdcb6329d44701aeaa6135b0e5265">setNoAntialiasingOnDrag</a> (bool enabled)</td></tr>
<tr class="separator:a775bdcb6329d44701aeaa6135b0e5265"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94a33cbdadbbac5934843508bcfc210d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> (const QCP::PlottingHints &amp;hints)</td></tr>
<tr class="separator:a94a33cbdadbbac5934843508bcfc210d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a3b7c97bb6c16464e9e15190c07abe9a9">setPlottingHint</a> (<a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a> hint, bool enabled=true)</td></tr>
<tr class="separator:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fc96e3b5138a06759a2a90c166df516"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8fc96e3b5138a06759a2a90c166df516">setMultiSelectModifier</a> (Qt::KeyboardModifier modifier)</td></tr>
<tr class="separator:a8fc96e3b5138a06759a2a90c166df516"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32de81ff53e263e785b83b52ecd99d6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a> (int index)</td></tr>
<tr class="separator:a32de81ff53e263e785b83b52ecd99d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adea38bdc660da9412ba69fb939031567"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#adea38bdc660da9412ba69fb939031567">plottable</a> ()</td></tr>
<tr class="separator:adea38bdc660da9412ba69fb939031567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7ad9174f701f9c6f64e378df77927a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>)</td></tr>
<tr class="separator:ab7ad9174f701f9c6f64e378df77927a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3dafd56884208474f311d6226513ab2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>)</td></tr>
<tr class="separator:af3dafd56884208474f311d6226513ab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc210e0021480f8119bccf37839dbcc8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afc210e0021480f8119bccf37839dbcc8">removePlottable</a> (int index)</td></tr>
<tr class="separator:afc210e0021480f8119bccf37839dbcc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a409bb3201878adb7ffba1c89c4e004"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> ()</td></tr>
<tr class="separator:a9a409bb3201878adb7ffba1c89c4e004"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f4f15991c14bf9ad659bb2a19dfbed4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a5f4f15991c14bf9ad659bb2a19dfbed4">plottableCount</a> () const</td></tr>
<tr class="separator:a5f4f15991c14bf9ad659bb2a19dfbed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747faaab57c56891e901a1e97fa4359a"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a> () const</td></tr>
<tr class="separator:a747faaab57c56891e901a1e97fa4359a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acddbbd8b16dd633f0d94e5a736fbd8cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#acddbbd8b16dd633f0d94e5a736fbd8cf">plottableAt</a> (const QPointF &amp;pos, bool onlySelectable=false) const</td></tr>
<tr class="separator:acddbbd8b16dd633f0d94e5a736fbd8cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72cefbfbb9e699940e37be605bd9c51e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a72cefbfbb9e699940e37be605bd9c51e">hasPlottable</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>) const</td></tr>
<tr class="separator:a72cefbfbb9e699940e37be605bd9c51e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ecae130f684b25276fb47bd3a5875c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6ecae130f684b25276fb47bd3a5875c6">graph</a> (int index) const</td></tr>
<tr class="separator:a6ecae130f684b25276fb47bd3a5875c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac190865a67f19af3fdf2136774997af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aac190865a67f19af3fdf2136774997af">graph</a> () const</td></tr>
<tr class="separator:aac190865a67f19af3fdf2136774997af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fb2873d35a8a8089842d81a70a54167"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *keyAxis=0, <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *valueAxis=0)</td></tr>
<tr class="separator:a6fb2873d35a8a8089842d81a70a54167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a903561be895fb6528a770d66ac5e6713"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a> (<a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *<a class="el" href="class_q_custom_plot.html#a6ecae130f684b25276fb47bd3a5875c6">graph</a>)</td></tr>
<tr class="separator:a903561be895fb6528a770d66ac5e6713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9554b3d2d5b10c0f884bd4010b6c192c">removeGraph</a> (int index)</td></tr>
<tr class="separator:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> ()</td></tr>
<tr class="separator:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1787cdde868c4d3790f9ebc8207d90"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a5e1787cdde868c4d3790f9ebc8207d90">graphCount</a> () const</td></tr>
<tr class="separator:a5e1787cdde868c4d3790f9ebc8207d90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3547aded026d8a9ae6ef13a69080d06"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad3547aded026d8a9ae6ef13a69080d06">selectedGraphs</a> () const</td></tr>
<tr class="separator:ad3547aded026d8a9ae6ef13a69080d06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac042f2e78edd228ccf2f26b7fe215239"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a> (int index) const</td></tr>
<tr class="separator:ac042f2e78edd228ccf2f26b7fe215239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12eb2a283cf10a8a9176c01c0443e83e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a12eb2a283cf10a8a9176c01c0443e83e">item</a> () const</td></tr>
<tr class="separator:a12eb2a283cf10a8a9176c01c0443e83e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa500620379262321685cb7a7674cbd2a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>)</td></tr>
<tr class="separator:aa500620379262321685cb7a7674cbd2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04446557292551e8fb6e2c106e1848d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>)</td></tr>
<tr class="separator:ae04446557292551e8fb6e2c106e1848d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcfdda3d601c0441cab136137d715dea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abcfdda3d601c0441cab136137d715dea">removeItem</a> (int index)</td></tr>
<tr class="separator:abcfdda3d601c0441cab136137d715dea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdfd07d4f0591d0cf967f85013fd3645"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> ()</td></tr>
<tr class="separator:abdfd07d4f0591d0cf967f85013fd3645"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16025daf0341f9362be3080e404424c2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a16025daf0341f9362be3080e404424c2">itemCount</a> () const</td></tr>
<tr class="separator:a16025daf0341f9362be3080e404424c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afda487bcf2d6cf1a57173d82495e29ba"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afda487bcf2d6cf1a57173d82495e29ba">selectedItems</a> () const</td></tr>
<tr class="separator:afda487bcf2d6cf1a57173d82495e29ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac08578e0e6c059c83a8d340ba0038e8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac08578e0e6c059c83a8d340ba0038e8e">itemAt</a> (const QPointF &amp;pos, bool onlySelectable=false) const</td></tr>
<tr class="separator:ac08578e0e6c059c83a8d340ba0038e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0b57f35646079f93fa6161a65b36109"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af0b57f35646079f93fa6161a65b36109">hasItem</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>) const</td></tr>
<tr class="separator:af0b57f35646079f93fa6161a65b36109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a96244e7773b242ef23c32b7bdfb159"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a> (const QString &amp;name) const</td></tr>
<tr class="separator:a0a96244e7773b242ef23c32b7bdfb159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbb570f4c24306e7c2324d40bfe157c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#acbb570f4c24306e7c2324d40bfe157c2">layer</a> (int index) const</td></tr>
<tr class="separator:acbb570f4c24306e7c2324d40bfe157c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0421d647f420b0b4c57aec1708857af5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a0421d647f420b0b4c57aec1708857af5">currentLayer</a> () const</td></tr>
<tr class="separator:a0421d647f420b0b4c57aec1708857af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73a6dc47c653bb6f8f030abca5a11852"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a> (const QString &amp;name)</td></tr>
<tr class="separator:a73a6dc47c653bb6f8f030abca5a11852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a23a4d3cadad1a0063c5fe19aac5659e6">setCurrentLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *<a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a>)</td></tr>
<tr class="separator:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa45d61e65292026f4c58c9c88c2cef0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afa45d61e65292026f4c58c9c88c2cef0">layerCount</a> () const</td></tr>
<tr class="separator:afa45d61e65292026f4c58c9c88c2cef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5255393df078448bb6ac83fa5db5f52"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a> (const QString &amp;name, <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *otherLayer=0, <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> insertMode=<a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>)</td></tr>
<tr class="separator:ad5255393df078448bb6ac83fa5db5f52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *<a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a>)</td></tr>
<tr class="separator:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae896140beff19424e9e9e02d6e331104"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *<a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a>, <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *otherLayer, <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> insertMode=<a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>)</td></tr>
<tr class="separator:ae896140beff19424e9e9e02d6e331104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f85940aaac50efb466287d9d2d04ec6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8f85940aaac50efb466287d9d2d04ec6">axisRectCount</a> () const</td></tr>
<tr class="separator:a8f85940aaac50efb466287d9d2d04ec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5eefcb5f6ca26689b1fd4f6e25b42f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae5eefcb5f6ca26689b1fd4f6e25b42f9">axisRect</a> (int index=0) const</td></tr>
<tr class="separator:ae5eefcb5f6ca26689b1fd4f6e25b42f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12af771429e2d7e313c8c5d5fca068fe"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a12af771429e2d7e313c8c5d5fca068fe">axisRects</a> () const</td></tr>
<tr class="separator:a12af771429e2d7e313c8c5d5fca068fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa1d304e0287d140fd238e90889ef3c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afaa1d304e0287d140fd238e90889ef3c">layoutElementAt</a> (const QPointF &amp;pos) const</td></tr>
<tr class="separator:afaa1d304e0287d140fd238e90889ef3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad86528f2cee6c7e446dea4a6e8839935"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad86528f2cee6c7e446dea4a6e8839935">rescaleAxes</a> (bool onlyVisiblePlottables=false)</td></tr>
<tr class="separator:ad86528f2cee6c7e446dea4a6e8839935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6b07792b1cb2c31681596582d14dbe"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a7e6b07792b1cb2c31681596582d14dbe">selectedAxes</a> () const</td></tr>
<tr class="separator:a7e6b07792b1cb2c31681596582d14dbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac87624ddff1cbf4064781a8e8ae321c4"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac87624ddff1cbf4064781a8e8ae321c4">selectedLegends</a> () const</td></tr>
<tr class="separator:ac87624ddff1cbf4064781a8e8ae321c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d4808ab925b003054085246c92a257c"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> ()</td></tr>
<tr class="separator:a9d4808ab925b003054085246c92a257c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a632da44c6d94ea8b271eb483b08b5114"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> (const QString &amp;fileName, bool noCosmeticPen=false, int width=0, int height=0, const QString &amp;pdfCreator=QString(), const QString &amp;pdfTitle=QString())</td></tr>
<tr class="separator:a632da44c6d94ea8b271eb483b08b5114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a> (const QString &amp;fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
<tr class="separator:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a> (const QString &amp;fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
<tr class="separator:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a> (const QString &amp;fileName, int width=0, int height=0, double scale=1.0)</td></tr>
<tr class="separator:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> (const QString &amp;fileName, int width, int height, double scale, const char *format, int quality=-1)</td></tr>
<tr class="separator:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb974d71ce96c137dc04eb6eab844fe"><td class="memItemLeft" align="right" valign="top">QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> (int width=0, int height=0, double scale=1.0)</td></tr>
<tr class="separator:aabb974d71ce96c137dc04eb6eab844fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, int width=0, int height=0)</td></tr>
<tr class="separator:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a606fd384b2a637ce2c24899bcbde77d6"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a> (<a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39">QCustomPlot::RefreshPriority</a> refreshPriority=<a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332">QCustomPlot::rpHint</a>)</td></tr>
<tr class="separator:a606fd384b2a637ce2c24899bcbde77d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a9a79cd0158a4c7f30cbc702f0fd800e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a></td></tr>
<tr class="separator:a9a79cd0158a4c7f30cbc702f0fd800e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6fea5679725b152c14facd920b19367"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af6fea5679725b152c14facd920b19367">yAxis</a></td></tr>
<tr class="separator:af6fea5679725b152c14facd920b19367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada41599f22cad901c030f3dcbdd82fd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a></td></tr>
<tr class="separator:ada41599f22cad901c030f3dcbdd82fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af13fdc5bce7d0fabd640f13ba805c0b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a></td></tr>
<tr class="separator:af13fdc5bce7d0fabd640f13ba805c0b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eadcd237dc6a09938b68b16877fa6af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a></td></tr>
<tr class="separator:a4eadcd237dc6a09938b68b16877fa6af"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a0f7d90553493be687da80544f7244ad2"><td class="memItemLeft" align="right" valign="top"><a id="a0f7d90553493be687da80544f7244ad2"></a>
virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><b>minimumSizeHint</b> () const</td></tr>
<tr class="separator:a0f7d90553493be687da80544f7244ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51601831bc7d5403d5e729347a10ba33"><td class="memItemLeft" align="right" valign="top"><a id="a51601831bc7d5403d5e729347a10ba33"></a>
virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><b>sizeHint</b> () const</td></tr>
<tr class="separator:a51601831bc7d5403d5e729347a10ba33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memItemLeft" align="right" valign="top"><a id="a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>paintEvent</b> (QPaintEvent *event)</td></tr>
<tr class="separator:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13e05523a40c3f08875df5cde85cf0d9"><td class="memItemLeft" align="right" valign="top"><a id="a13e05523a40c3f08875df5cde85cf0d9"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>resizeEvent</b> (QResizeEvent *event)</td></tr>
<tr class="separator:a13e05523a40c3f08875df5cde85cf0d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77591913a5b543bdc465dd5e08325a49"><td class="memItemLeft" align="right" valign="top"><a id="a77591913a5b543bdc465dd5e08325a49"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseDoubleClickEvent</b> (QMouseEvent *event)</td></tr>
<tr class="separator:a77591913a5b543bdc465dd5e08325a49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memItemLeft" align="right" valign="top"><a id="abce84fa2c71e47b9295d67e8fce84bb4"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mousePressEvent</b> (QMouseEvent *event)</td></tr>
<tr class="separator:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac64727a4f442770f6e5e6be2d0530843"><td class="memItemLeft" align="right" valign="top"><a id="ac64727a4f442770f6e5e6be2d0530843"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseMoveEvent</b> (QMouseEvent *event)</td></tr>
<tr class="separator:ac64727a4f442770f6e5e6be2d0530843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memItemLeft" align="right" valign="top"><a id="a724e97d2e8c03e68adac5f4b6164a1b3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseReleaseEvent</b> (QMouseEvent *event)</td></tr>
<tr class="separator:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memItemLeft" align="right" valign="top"><a id="a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>wheelEvent</b> (QWheelEvent *event)</td></tr>
<tr class="separator:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memItemLeft" align="right" valign="top"><a id="ad7a7d878bf050f101a43008e7d8fdb52"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>draw</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b46607021c463c94709d3504951cb47"><td class="memItemLeft" align="right" valign="top"><a id="a8b46607021c463c94709d3504951cb47"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>axisRemoved</b> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis)</td></tr>
<tr class="separator:a8b46607021c463c94709d3504951cb47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d173454555021c9ffd4f675c4d9037a"><td class="memItemLeft" align="right" valign="top"><a id="a9d173454555021c9ffd4f675c4d9037a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>legendRemoved</b> (<a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *<a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>)</td></tr>
<tr class="separator:a9d173454555021c9ffd4f675c4d9037a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f1ca67a66d37b6d260a0b93de08f3bd"><td class="memItemLeft" align="right" valign="top"><a id="a7f1ca67a66d37b6d260a0b93de08f3bd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateLayerIndices</b> () const</td></tr>
<tr class="separator:a7f1ca67a66d37b6d260a0b93de08f3bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12536fa6d5deb34ec620acb5134ca82a"><td class="memItemLeft" align="right" valign="top"><a id="a12536fa6d5deb34ec620acb5134ca82a"></a>
<a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>layerableAt</b> (const QPointF &amp;pos, bool onlySelectable, QVariant *selectionDetails=0) const</td></tr>
<tr class="separator:a12536fa6d5deb34ec620acb5134ca82a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05dd52438cee4353b18c1e53a439008d"><td class="memItemLeft" align="right" valign="top"><a id="a05dd52438cee4353b18c1e53a439008d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>drawBackground</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:a05dd52438cee4353b18c1e53a439008d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac0a7c38a715526c257cff95774f83ab6"><td class="memItemLeft" align="right" valign="top"><a id="ac0a7c38a715526c257cff95774f83ab6"></a>
QRect&#160;</td><td class="memItemRight" valign="bottom"><b>mViewport</b></td></tr>
<tr class="separator:ac0a7c38a715526c257cff95774f83ab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac97298756882a0eecd98151679850ac1"><td class="memItemLeft" align="right" valign="top"><a id="ac97298756882a0eecd98151679850ac1"></a>
<a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mPlotLayout</b></td></tr>
<tr class="separator:ac97298756882a0eecd98151679850ac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf3ea6a4cb04d35a149cc9a0cdac3394"><td class="memItemLeft" align="right" valign="top"><a id="aaf3ea6a4cb04d35a149cc9a0cdac3394"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAutoAddPlottableToLegend</b></td></tr>
<tr class="separator:aaf3ea6a4cb04d35a149cc9a0cdac3394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62bf8e4e7f8d23fc1e9301ba0148269f"><td class="memItemLeft" align="right" valign="top"><a id="a62bf8e4e7f8d23fc1e9301ba0148269f"></a>
QList&lt; <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mPlottables</b></td></tr>
<tr class="separator:a62bf8e4e7f8d23fc1e9301ba0148269f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaf8d407d72a725169d7dbed2ee386bb"><td class="memItemLeft" align="right" valign="top"><a id="adaf8d407d72a725169d7dbed2ee386bb"></a>
QList&lt; <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mGraphs</b></td></tr>
<tr class="separator:adaf8d407d72a725169d7dbed2ee386bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a93905372326e31e98d6c3bc8953ec8"><td class="memItemLeft" align="right" valign="top"><a id="a6a93905372326e31e98d6c3bc8953ec8"></a>
QList&lt; <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mItems</b></td></tr>
<tr class="separator:a6a93905372326e31e98d6c3bc8953ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72ee313041b873d76c198793ce7e6c37"><td class="memItemLeft" align="right" valign="top"><a id="a72ee313041b873d76c198793ce7e6c37"></a>
QList&lt; <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mLayers</b></td></tr>
<tr class="separator:a72ee313041b873d76c198793ce7e6c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa333200629256830e273873b582a5524"><td class="memItemLeft" align="right" valign="top"><a id="aa333200629256830e273873b582a5524"></a>
QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiasedElements</b></td></tr>
<tr class="separator:aa333200629256830e273873b582a5524"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b6ebcad00a90ba07f146cefcd4293da"><td class="memItemLeft" align="right" valign="top"><a id="a2b6ebcad00a90ba07f146cefcd4293da"></a>
QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>mNotAntialiasedElements</b></td></tr>
<tr class="separator:a2b6ebcad00a90ba07f146cefcd4293da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad717377ceba7493b4b32f0bcbbdf1895"><td class="memItemLeft" align="right" valign="top"><a id="ad717377ceba7493b4b32f0bcbbdf1895"></a>
QCP::Interactions&#160;</td><td class="memItemRight" valign="bottom"><b>mInteractions</b></td></tr>
<tr class="separator:ad717377ceba7493b4b32f0bcbbdf1895"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc36e12dd0482117ad810a800c847722"><td class="memItemLeft" align="right" valign="top"><a id="abc36e12dd0482117ad810a800c847722"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mSelectionTolerance</b></td></tr>
<tr class="separator:abc36e12dd0482117ad810a800c847722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac83df968435f6b8ec79f2993ab9124e8"><td class="memItemLeft" align="right" valign="top"><a id="ac83df968435f6b8ec79f2993ab9124e8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mNoAntialiasingOnDrag</b></td></tr>
<tr class="separator:ac83df968435f6b8ec79f2993ab9124e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aef5de4ac012178e3293248e9c63737"><td class="memItemLeft" align="right" valign="top"><a id="a3aef5de4ac012178e3293248e9c63737"></a>
QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundBrush</b></td></tr>
<tr class="separator:a3aef5de4ac012178e3293248e9c63737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8f4677399324a78c5f8dbfb95a34f90"><td class="memItemLeft" align="right" valign="top"><a id="ae8f4677399324a78c5f8dbfb95a34f90"></a>
QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundPixmap</b></td></tr>
<tr class="separator:ae8f4677399324a78c5f8dbfb95a34f90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a081bf046501d52642dc6d7e3bdb97d57"><td class="memItemLeft" align="right" valign="top"><a id="a081bf046501d52642dc6d7e3bdb97d57"></a>
QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mScaledBackgroundPixmap</b></td></tr>
<tr class="separator:a081bf046501d52642dc6d7e3bdb97d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62fe584b20680b1b2e1c7efb5c5416a5"><td class="memItemLeft" align="right" valign="top"><a id="a62fe584b20680b1b2e1c7efb5c5416a5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundScaled</b></td></tr>
<tr class="separator:a62fe584b20680b1b2e1c7efb5c5416a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab82e8a5e3ad6b486f95d6da8bf49e9aa"><td class="memItemLeft" align="right" valign="top"><a id="ab82e8a5e3ad6b486f95d6da8bf49e9aa"></a>
Qt::AspectRatioMode&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundScaledMode</b></td></tr>
<tr class="separator:ab82e8a5e3ad6b486f95d6da8bf49e9aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa27569c92e74395af10151357d268628"><td class="memItemLeft" align="right" valign="top"><a id="aa27569c92e74395af10151357d268628"></a>
<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mCurrentLayer</b></td></tr>
<tr class="separator:aa27569c92e74395af10151357d268628"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa184197a6101a9cc5807469e1d006c9e"><td class="memItemLeft" align="right" valign="top"><a id="aa184197a6101a9cc5807469e1d006c9e"></a>
QCP::PlottingHints&#160;</td><td class="memItemRight" valign="bottom"><b>mPlottingHints</b></td></tr>
<tr class="separator:aa184197a6101a9cc5807469e1d006c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e97e701c5671e7e463d2ce0211d0f8a"><td class="memItemLeft" align="right" valign="top"><a id="a0e97e701c5671e7e463d2ce0211d0f8a"></a>
Qt::KeyboardModifier&#160;</td><td class="memItemRight" valign="bottom"><b>mMultiSelectModifier</b></td></tr>
<tr class="separator:a0e97e701c5671e7e463d2ce0211d0f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a753630df96e0672098d9e88bd41d1913"><td class="memItemLeft" align="right" valign="top"><a id="a753630df96e0672098d9e88bd41d1913"></a>
QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mPaintBuffer</b></td></tr>
<tr class="separator:a753630df96e0672098d9e88bd41d1913"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac57090da95056ae4dd67be67adfa85bd"><td class="memItemLeft" align="right" valign="top"><a id="ac57090da95056ae4dd67be67adfa85bd"></a>
QPoint&#160;</td><td class="memItemRight" valign="bottom"><b>mMousePressPos</b></td></tr>
<tr class="separator:ac57090da95056ae4dd67be67adfa85bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f2e8b25e59cf3cf7b15e4767c02e747"><td class="memItemLeft" align="right" valign="top"><a id="a2f2e8b25e59cf3cf7b15e4767c02e747"></a>
QPointer&lt; <a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mMouseEventElement</b></td></tr>
<tr class="separator:a2f2e8b25e59cf3cf7b15e4767c02e747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab30daeca6612c3948afd368dce5f1c39"><td class="memItemLeft" align="right" valign="top"><a id="ab30daeca6612c3948afd368dce5f1c39"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mReplotting</b></td></tr>
<tr class="separator:ab30daeca6612c3948afd368dce5f1c39"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memItemLeft" align="right" valign="top"><a id="a8429035e7adfbd7f05805a6530ad5e3b"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPLegend</b></td></tr>
<tr class="separator:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af123edeca169ec7a31958a1d714e1a8a"><td class="memItemLeft" align="right" valign="top"><a id="af123edeca169ec7a31958a1d714e1a8a"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPAxis</b></td></tr>
<tr class="separator:af123edeca169ec7a31958a1d714e1a8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dbf96bf7664c1b6fce49063eeea6eef"><td class="memItemLeft" align="right" valign="top"><a id="a5dbf96bf7664c1b6fce49063eeea6eef"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPLayer</b></td></tr>
<tr class="separator:a5dbf96bf7664c1b6fce49063eeea6eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbf20ecb140f66c5fd1bc64ae0762990"><td class="memItemLeft" align="right" valign="top"><a id="acbf20ecb140f66c5fd1bc64ae0762990"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPAxisRect</b></td></tr>
<tr class="separator:acbf20ecb140f66c5fd1bc64ae0762990"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The central class of the library. This is the QWidget which displays the plot and interacts with the user. </p>
<p>For tutorials on how to use <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, see the website<br />
<a href="http://www.qcustomplot.com/">http://www.qcustomplot.com/</a> </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a75a8afbe6ef333b1f3d47abb25b9add7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75a8afbe6ef333b1f3d47abb25b9add7">&#9670;&nbsp;</a></span>LayerInsertMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines how a layer should be inserted relative to an other layer.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93"></a>limBelow&#160;</td><td class="fielddoc"><p>Layer is inserted below other layer. </p>
</td></tr>
<tr><td class="fieldname"><a id="a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41"></a>limAbove&#160;</td><td class="fielddoc"><p>Layer is inserted above other layer. </p>
</td></tr>
</table>

</div>
</div>
<a id="a45d61392d13042e712a956d27762aa39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45d61392d13042e712a956d27762aa39">&#9670;&nbsp;</a></span>RefreshPriority</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39">QCustomPlot::RefreshPriority</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Defines with what timing the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> surface is refreshed after a replot.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a45d61392d13042e712a956d27762aa39a0d4831572370d871f2b7cb88806bac59"></a>rpImmediate&#160;</td><td class="fielddoc"><p>The <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> surface is immediately refreshed, by calling QWidget::repaint() after the replot. </p>
</td></tr>
<tr><td class="fieldname"><a id="a45d61392d13042e712a956d27762aa39aaaae083a19bc668597bf0f86e000f798"></a>rpQueued&#160;</td><td class="fielddoc"><p>Queues the refresh such that it is performed at a slightly delayed point in time after the replot, by calling QWidget::update() after the replot. </p>
</td></tr>
<tr><td class="fieldname"><a id="a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332"></a>rpHint&#160;</td><td class="fielddoc"><p>Whether to use immediate repaint or queued update depends on whether the plotting hint <a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4aa3090dafa0e0f9a28c579c79d6c2d283">QCP::phForceRepaint</a> is set, see <a class="el" href="class_q_custom_plot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a>. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a45b99626558651a6428b83972b0b34b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45b99626558651a6428b83972b0b34b8">&#9670;&nbsp;</a></span>QCustomPlot()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QCustomPlot::QCustomPlot </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructs a <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> and sets reasonable default values. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6fb2873d35a8a8089842d81a70a54167"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fb2873d35a8a8089842d81a70a54167">&#9670;&nbsp;</a></span>addGraph()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::addGraph </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
          <td class="paramname"><em>keyAxis</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
          <td class="paramname"><em>valueAxis</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new graph inside the plot. If <em>keyAxis</em> and <em>valueAxis</em> are left unspecified (0), the bottom (xAxis) is used as key and the left (yAxis) is used as value axis. If specified, <em>keyAxis</em> and <em>valueAxis</em> must reside in this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<p><em>keyAxis</em> will be used as key axis (typically "x") and <em>valueAxis</em> as value axis (typically "y") for the graph.</p>
<p>Returns a pointer to the newly created graph, or 0 if adding the graph failed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6ecae130f684b25276fb47bd3a5875c6">graph</a>, <a class="el" href="class_q_custom_plot.html#a5e1787cdde868c4d3790f9ebc8207d90">graphCount</a>, <a class="el" href="class_q_custom_plot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a>, <a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> </dd></dl>

</div>
</div>
<a id="aa500620379262321685cb7a7674cbd2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa500620379262321685cb7a7674cbd2a">&#9670;&nbsp;</a></span>addItem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::addItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds the specified item to the plot. <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> takes ownership of the item.</p>
<p>Returns true on success, i.e. when <em>item</em> wasn't already in the plot and the parent plot of <em>item</em> is this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>, <a class="el" href="class_q_custom_plot.html#a16025daf0341f9362be3080e404424c2">itemCount</a>, <a class="el" href="class_q_custom_plot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a>, <a class="el" href="class_q_custom_plot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> </dd></dl>

</div>
</div>
<a id="ad5255393df078448bb6ac83fa5db5f52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5255393df078448bb6ac83fa5db5f52">&#9670;&nbsp;</a></span>addLayer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::addLayer </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
          <td class="paramname"><em>otherLayer</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a>&#160;</td>
          <td class="paramname"><em>insertMode</em> = <code><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds a new layer to this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance. The new layer will have the name <em>name</em>, which must be unique. Depending on <em>insertMode</em>, it is positioned either below or above <em>otherLayer</em>.</p>
<p>Returns true on success, i.e. if there is no other layer named <em>name</em> and <em>otherLayer</em> is a valid layer inside this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<p>If <em>otherLayer</em> is 0, the highest layer in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> will be used.</p>
<p>For an explanation of what layers are in <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, see the documentation of <a class="el" href="class_q_c_p_layer.html">QCPLayer</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>

</div>
</div>
<a id="ab7ad9174f701f9c6f64e378df77927a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7ad9174f701f9c6f64e378df77927a6">&#9670;&nbsp;</a></span>addPlottable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::addPlottable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
          <td class="paramname"><em>plottable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds the specified plottable to the plot and, if <a class="el" href="class_q_custom_plot.html#ad8858410c2db47b7104040a3aa61c3fc">setAutoAddPlottableToLegend</a> is enabled, to the legend (<a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>). <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> takes ownership of the plottable.</p>
<p>Returns true on success, i.e. when <em>plottable</em> isn't already in the plot and the parent plot of <em>plottable</em> is this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> (the latter is controlled by what axes were passed in the plottable's constructor).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, <a class="el" href="class_q_custom_plot.html#a5f4f15991c14bf9ad659bb2a19dfbed4">plottableCount</a>, <a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a>, <a class="el" href="class_q_custom_plot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> </dd></dl>

</div>
</div>
<a id="a6f4fa624af060bc5919c5f266cf426a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f4fa624af060bc5919c5f266cf426a0">&#9670;&nbsp;</a></span>afterReplot</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::afterReplot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted immediately after a replot has taken place (caused by a call to the slot <a class="el" href="class_q_custom_plot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>).</p>
<p>It is safe to mutually connect the replot slot with this signal on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>, <a class="el" href="class_q_custom_plot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> </dd></dl>

</div>
</div>
<a id="abf635f8b56ab5c16d5de9f358543e82b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf635f8b56ab5c16d5de9f358543e82b">&#9670;&nbsp;</a></span>axisClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::axisClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a>&#160;</td>
          <td class="paramname"><em>part</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an axis is clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>axis</em> is the axis that received the click and <em>part</em> indicates the part of the axis that was clicked.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a> </dd></dl>

</div>
</div>
<a id="a6df35357460181a72da3e93d600f5256"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6df35357460181a72da3e93d600f5256">&#9670;&nbsp;</a></span>axisDoubleClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::axisDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
          <td class="paramname"><em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a>&#160;</td>
          <td class="paramname"><em>part</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an axis is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>axis</em> is the axis that received the click and <em>part</em> indicates the part of the axis that was clicked.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a> </dd></dl>

</div>
</div>
<a id="ae5eefcb5f6ca26689b1fd4f6e25b42f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5eefcb5f6ca26689b1fd4f6e25b42f9">&#9670;&nbsp;</a></span>axisRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * QCustomPlot::axisRect </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em> = <code>0</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the axis rect with <em>index</em>.</p>
<p>Initially, only one axis rect (with index 0) exists in the plot. If multiple axis rects were added, all of them may be accessed with this function in a linear fashion (even when they are nested in a layout hierarchy or inside other axis rects via <a class="el" href="class_q_c_p_axis_rect.html#a949f803466619924c7018df4b511ae10">QCPAxisRect::insetLayout</a>).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a8f85940aaac50efb466287d9d2d04ec6">axisRectCount</a>, <a class="el" href="class_q_custom_plot.html#a12af771429e2d7e313c8c5d5fca068fe">axisRects</a> </dd></dl>

</div>
</div>
<a id="a8f85940aaac50efb466287d9d2d04ec6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f85940aaac50efb466287d9d2d04ec6">&#9670;&nbsp;</a></span>axisRectCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::axisRectCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the number of axis rects in the plot.</p>
<p>All axis rects can be accessed via <a class="el" href="class_q_custom_plot.html#ae5eefcb5f6ca26689b1fd4f6e25b42f9">QCustomPlot::axisRect()</a>.</p>
<p>Initially, only one axis rect exists in the plot.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae5eefcb5f6ca26689b1fd4f6e25b42f9">axisRect</a>, <a class="el" href="class_q_custom_plot.html#a12af771429e2d7e313c8c5d5fca068fe">axisRects</a> </dd></dl>

</div>
</div>
<a id="a12af771429e2d7e313c8c5d5fca068fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12af771429e2d7e313c8c5d5fca068fe">&#9670;&nbsp;</a></span>axisRects()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; <a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * &gt; QCustomPlot::axisRects </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns all axis rects in the plot.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a8f85940aaac50efb466287d9d2d04ec6">axisRectCount</a>, <a class="el" href="class_q_custom_plot.html#ae5eefcb5f6ca26689b1fd4f6e25b42f9">axisRect</a> </dd></dl>

</div>
</div>
<a id="a0cd30e29b73efd6afe096e44bc5956f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cd30e29b73efd6afe096e44bc5956f5">&#9670;&nbsp;</a></span>beforeReplot</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::beforeReplot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted immediately before a replot takes place (caused by a call to the slot <a class="el" href="class_q_custom_plot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>).</p>
<p>It is safe to mutually connect the replot slot with this signal on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>, <a class="el" href="class_q_custom_plot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> </dd></dl>

</div>
</div>
<a id="ab0f3abff2d2f7df3668b5836f39207fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0f3abff2d2f7df3668b5836f39207fa">&#9670;&nbsp;</a></span>clearGraphs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::clearGraphs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes all graphs from the plot (and the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>, if necessary).</p>
<p>Returns the number of graphs removed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a> </dd></dl>

</div>
</div>
<a id="abdfd07d4f0591d0cf967f85013fd3645"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdfd07d4f0591d0cf967f85013fd3645">&#9670;&nbsp;</a></span>clearItems()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::clearItems </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes all items from the plot.</p>
<p>Returns the number of items removed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a> </dd></dl>

</div>
</div>
<a id="a9a409bb3201878adb7ffba1c89c4e004"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a409bb3201878adb7ffba1c89c4e004">&#9670;&nbsp;</a></span>clearPlottables()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::clearPlottables </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes all plottables from the plot (and the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>, if necessary).</p>
<p>Returns the number of plottables removed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a> </dd></dl>

</div>
</div>
<a id="a0421d647f420b0b4c57aec1708857af5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0421d647f420b0b4c57aec1708857af5">&#9670;&nbsp;</a></span>currentLayer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::currentLayer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the layer that is set as current layer (see <a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a>). </p>

</div>
</div>
<a id="a9d4808ab925b003054085246c92a257c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d4808ab925b003054085246c92a257c">&#9670;&nbsp;</a></span>deselectAll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::deselectAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Deselects all layerables (plottables, items, axes, legends,...) of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<p>Since calling this function is not a user interaction, this does not emit the <a class="el" href="class_q_custom_plot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> signal. The individual selectionChanged signals are emitted though, if the objects were previously selected.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#afda487bcf2d6cf1a57173d82495e29ba">selectedItems</a>, <a class="el" href="class_q_custom_plot.html#a7e6b07792b1cb2c31681596582d14dbe">selectedAxes</a>, <a class="el" href="class_q_custom_plot.html#ac87624ddff1cbf4064781a8e8ae321c4">selectedLegends</a> </dd></dl>

</div>
</div>
<a id="a6ecae130f684b25276fb47bd3a5875c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ecae130f684b25276fb47bd3a5875c6">&#9670;&nbsp;</a></span>graph() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::graph </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the graph with <em>index</em>. If the index is invalid, returns 0.</p>
<p>There is an overloaded version of this function with no parameter which returns the last created graph, see <a class="el" href="class_q_custom_plot.html#a6ecae130f684b25276fb47bd3a5875c6">QCustomPlot::graph()</a></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5e1787cdde868c4d3790f9ebc8207d90">graphCount</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>

</div>
</div>
<a id="aac190865a67f19af3fdf2136774997af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac190865a67f19af3fdf2136774997af">&#9670;&nbsp;</a></span>graph() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::graph </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Returns the last graph, that was created with <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a>. If there are no graphs in the plot, returns 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5e1787cdde868c4d3790f9ebc8207d90">graphCount</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>

</div>
</div>
<a id="a5e1787cdde868c4d3790f9ebc8207d90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e1787cdde868c4d3790f9ebc8207d90">&#9670;&nbsp;</a></span>graphCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::graphCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the number of currently existing graphs in the plot</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6ecae130f684b25276fb47bd3a5875c6">graph</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>

</div>
</div>
<a id="af0b57f35646079f93fa6161a65b36109"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0b57f35646079f93fa6161a65b36109">&#9670;&nbsp;</a></span>hasItem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::hasItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns whether this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> contains the <em>item</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>

</div>
</div>
<a id="a72cefbfbb9e699940e37be605bd9c51e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72cefbfbb9e699940e37be605bd9c51e">&#9670;&nbsp;</a></span>hasPlottable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::hasPlottable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
          <td class="paramname"><em>plottable</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns whether this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance contains the <em>plottable</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>

</div>
</div>
<a id="ac042f2e78edd228ccf2f26b7fe215239"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac042f2e78edd228ccf2f26b7fe215239">&#9670;&nbsp;</a></span>item() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::item </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the item with <em>index</em>. If the index is invalid, returns 0.</p>
<p>There is an overloaded version of this function with no parameter which returns the last added item, see <a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">QCustomPlot::item()</a></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a16025daf0341f9362be3080e404424c2">itemCount</a>, <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>

</div>
</div>
<a id="a12eb2a283cf10a8a9176c01c0443e83e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12eb2a283cf10a8a9176c01c0443e83e">&#9670;&nbsp;</a></span>item() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::item </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Returns the last item, that was added with <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a>. If there are no items in the plot, returns 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a16025daf0341f9362be3080e404424c2">itemCount</a>, <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>

</div>
</div>
<a id="ac08578e0e6c059c83a8d340ba0038e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac08578e0e6c059c83a8d340ba0038e8e">&#9670;&nbsp;</a></span>itemAt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::itemAt </td>
          <td>(</td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>onlySelectable</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the item at the pixel position <em>pos</em>. Items that only consist of single lines (e.g. <a class="el" href="class_q_c_p_item_line.html">QCPItemLine</a> or <a class="el" href="class_q_c_p_item_curve.html">QCPItemCurve</a>) have a tolerance band around them, see <a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>. If multiple items come into consideration, the one closest to <em>pos</em> is returned.</p>
<p>If <em>onlySelectable</em> is true, only items that are selectable (<a class="el" href="class_q_c_p_abstract_item.html#a8a8e32a55bc478b849756a78c2d87fd2">QCPAbstractItem::setSelectable</a>) are considered.</p>
<p>If there is no item at <em>pos</em>, the return value is 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#acddbbd8b16dd633f0d94e5a736fbd8cf">plottableAt</a>, <a class="el" href="class_q_custom_plot.html#afaa1d304e0287d140fd238e90889ef3c">layoutElementAt</a> </dd></dl>

</div>
</div>
<a id="ae16b51f52d2b7aebbc7e3e74e6ff2e4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">&#9670;&nbsp;</a></span>itemClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::itemClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an item is clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">itemDoubleClick</a> </dd></dl>

</div>
</div>
<a id="a16025daf0341f9362be3080e404424c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16025daf0341f9362be3080e404424c2">&#9670;&nbsp;</a></span>itemCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::itemCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the number of currently existing items in the plot</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac042f2e78edd228ccf2f26b7fe215239">item</a>, <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>

</div>
</div>
<a id="ac83aa9f5a3e9bb3efc9cdc763dcd42a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">&#9670;&nbsp;</a></span>itemDoubleClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::itemDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an item is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">itemClick</a> </dd></dl>

</div>
</div>
<a id="a0a96244e7773b242ef23c32b7bdfb159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a96244e7773b242ef23c32b7bdfb159">&#9670;&nbsp;</a></span>layer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::layer </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the layer with the specified <em>name</em>. If there is no layer with the specified name, 0 is returned.</p>
<p>Layer names are case-sensitive.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>

</div>
</div>
<a id="acbb570f4c24306e7c2324d40bfe157c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbb570f4c24306e7c2324d40bfe157c2">&#9670;&nbsp;</a></span>layer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::layer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Returns the layer by <em>index</em>. If the index is invalid, 0 is returned.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>

</div>
</div>
<a id="afa45d61e65292026f4c58c9c88c2cef0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa45d61e65292026f4c58c9c88c2cef0">&#9670;&nbsp;</a></span>layerCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::layerCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the number of currently existing layers in the plot</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a>, <a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a> </dd></dl>

</div>
</div>
<a id="afaa1d304e0287d140fd238e90889ef3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaa1d304e0287d140fd238e90889ef3c">&#9670;&nbsp;</a></span>layoutElementAt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> * QCustomPlot::layoutElementAt </td>
          <td>(</td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the layout element at pixel position <em>pos</em>. If there is no element at that position, returns 0.</p>
<p>Only visible elements are used. If <a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLayoutElement::setVisible</a> on the element itself or on any of its parent elements is set to false, it will not be considered.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac08578e0e6c059c83a8d340ba0038e8e">itemAt</a>, <a class="el" href="class_q_custom_plot.html#acddbbd8b16dd633f0d94e5a736fbd8cf">plottableAt</a> </dd></dl>

</div>
</div>
<a id="a79cff0baafbca10a3aaf694d2d3b9ab3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79cff0baafbca10a3aaf694d2d3b9ab3">&#9670;&nbsp;</a></span>legendClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::legendClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *&#160;</td>
          <td class="paramname"><em>legend</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a legend (item) is clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>legend</em> is the legend that received the click and <em>item</em> is the legend item that received the click. If only the legend and no item is clicked, <em>item</em> is 0. This happens for a click inside the legend padding or the space between two items.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a0250f835c044521df1619b132288bca7">legendDoubleClick</a> </dd></dl>

</div>
</div>
<a id="a0250f835c044521df1619b132288bca7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0250f835c044521df1619b132288bca7">&#9670;&nbsp;</a></span>legendDoubleClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::legendDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *&#160;</td>
          <td class="paramname"><em>legend</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a legend (item) is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>legend</em> is the legend that received the click and <em>item</em> is the legend item that received the click. If only the legend and no item is clicked, <em>item</em> is 0. This happens for a click inside the legend padding or the space between two items.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a79cff0baafbca10a3aaf694d2d3b9ab3">legendClick</a> </dd></dl>

</div>
</div>
<a id="a9b232142c64fcf273a953ee08e5b90e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b232142c64fcf273a953ee08e5b90e9">&#9670;&nbsp;</a></span>mouseDoubleClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::mouseDoubleClick </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse double click event. </p>

</div>
</div>
<a id="a742ca4f94688bed2a685fd8a56ce5704"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a742ca4f94688bed2a685fd8a56ce5704">&#9670;&nbsp;</a></span>mouseMove</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::mouseMove </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse move event.</p>
<p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_c_p_axis_rect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a> or <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>.</p>
<dl class="section warning"><dt>Warning</dt><dd>It is discouraged to change the drag-axes with <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a> here, because the dragging starting point was saved the moment the mouse was pressed. Thus it only has a meaning for the range drag axes that were set at that moment. If you want to change the drag axes, consider doing this in the <a class="el" href="class_q_custom_plot.html#aca75bf9afb5dd19349c375de2a87a051">mousePress</a> signal instead. </dd></dl>

</div>
</div>
<a id="aca75bf9afb5dd19349c375de2a87a051"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca75bf9afb5dd19349c375de2a87a051">&#9670;&nbsp;</a></span>mousePress</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::mousePress </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse press event.</p>
<p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_c_p_axis_rect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a> or <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>. </p>

</div>
</div>
<a id="ac8dc0ee6bb98e923c00b4ebafbe6134d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8dc0ee6bb98e923c00b4ebafbe6134d">&#9670;&nbsp;</a></span>mouseRelease</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::mouseRelease </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse release event.</p>
<p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanisms like object selection. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> or <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>. </p>

</div>
</div>
<a id="ac80a14206f99304a91d2aa55775ec3ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac80a14206f99304a91d2aa55775ec3ff">&#9670;&nbsp;</a></span>mouseWheel</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::mouseWheel </td>
          <td>(</td>
          <td class="paramtype">QWheelEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse wheel event.</p>
<p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanisms like range zooming. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_c_p_axis_rect.html#a7960a9d222f1c31d558b064b60f86a31">QCPAxisRect::setRangeZoom</a>, <a class="el" href="class_q_c_p_axis_rect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a> or <a class="el" href="class_q_c_p_axis_rect.html#a895d7ac745ea614e04056244b3c138ac">QCPAxisRect::setRangeZoomFactor</a>. </p>

</div>
</div>
<a id="ae896140beff19424e9e9e02d6e331104"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae896140beff19424e9e9e02d6e331104">&#9670;&nbsp;</a></span>moveLayer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::moveLayer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
          <td class="paramname"><em>layer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
          <td class="paramname"><em>otherLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a>&#160;</td>
          <td class="paramname"><em>insertMode</em> = <code><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Moves the specified <em>layer</em> either above or below <em>otherLayer</em>. Whether it's placed above or below is controlled with <em>insertMode</em>.</p>
<p>Returns true on success, i.e. when both <em>layer</em> and <em>otherLayer</em> are valid layers in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a>, <a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>

</div>
</div>
<a id="af1a1f1f571237deb7c2bd34a5e9f018f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1a1f1f571237deb7c2bd34a5e9f018f">&#9670;&nbsp;</a></span>plotLayout()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> * QCustomPlot::plotLayout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the top level layout of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance. It is a <a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a>, initially containing just one cell with the main <a class="el" href="class_q_c_p_axis_rect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a> inside. </p>

</div>
</div>
<a id="a32de81ff53e263e785b83b52ecd99d6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32de81ff53e263e785b83b52ecd99d6f">&#9670;&nbsp;</a></span>plottable() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the plottable with <em>index</em>. If the index is invalid, returns 0.</p>
<p>There is an overloaded version of this function with no parameter which returns the last added plottable, see <a class="el" href="class_q_custom_plot.html#adea38bdc660da9412ba69fb939031567">QCustomPlot::plottable()</a></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5f4f15991c14bf9ad659bb2a19dfbed4">plottableCount</a>, <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>

</div>
</div>
<a id="adea38bdc660da9412ba69fb939031567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adea38bdc660da9412ba69fb939031567">&#9670;&nbsp;</a></span>plottable() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Returns the last plottable that was added with <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>. If there are no plottables in the plot, returns 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5f4f15991c14bf9ad659bb2a19dfbed4">plottableCount</a>, <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>

</div>
</div>
<a id="acddbbd8b16dd633f0d94e5a736fbd8cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acddbbd8b16dd633f0d94e5a736fbd8cf">&#9670;&nbsp;</a></span>plottableAt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottableAt </td>
          <td>(</td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>onlySelectable</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the plottable at the pixel position <em>pos</em>. Plottables that only consist of single lines (like graphs) have a tolerance band around them, see <a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>. If multiple plottables come into consideration, the one closest to <em>pos</em> is returned.</p>
<p>If <em>onlySelectable</em> is true, only plottables that are selectable (<a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>) are considered.</p>
<p>If there is no plottable at <em>pos</em>, the return value is 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac08578e0e6c059c83a8d340ba0038e8e">itemAt</a>, <a class="el" href="class_q_custom_plot.html#afaa1d304e0287d140fd238e90889ef3c">layoutElementAt</a> </dd></dl>

</div>
</div>
<a id="a57e5efa8a854620e9bf62d31fc139f53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57e5efa8a854620e9bf62d31fc139f53">&#9670;&nbsp;</a></span>plottableClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::plottableClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
          <td class="paramname"><em>plottable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plottable is clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> </dd></dl>

</div>
</div>
<a id="a5f4f15991c14bf9ad659bb2a19dfbed4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f4f15991c14bf9ad659bb2a19dfbed4">&#9670;&nbsp;</a></span>plottableCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QCustomPlot::plottableCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the number of currently existing plottables in the plot</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>

</div>
</div>
<a id="af2e6f1cea923dae437681d01ce7d0c31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2e6f1cea923dae437681d01ce7d0c31">&#9670;&nbsp;</a></span>plottableDoubleClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::plottableDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
          <td class="paramname"><em>plottable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plottable is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> </dd></dl>

</div>
</div>
<a id="a903561be895fb6528a770d66ac5e6713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a903561be895fb6528a770d66ac5e6713">&#9670;&nbsp;</a></span>removeGraph() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::removeGraph </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td>
          <td class="paramname"><em>graph</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the specified <em>graph</em> from the plot and, if necessary, from the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>. If any other graphs in the plot have a channel fill set towards the removed graph, the channel fill property of those graphs is reset to zero (no channel fill).</p>
<p>Returns true on success.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> </dd></dl>

</div>
</div>
<a id="a9554b3d2d5b10c0f884bd4010b6c192c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9554b3d2d5b10c0f884bd4010b6c192c">&#9670;&nbsp;</a></span>removeGraph() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::removeGraph </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Removes the graph by its <em>index</em>. </p>

</div>
</div>
<a id="ae04446557292551e8fb6e2c106e1848d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae04446557292551e8fb6e2c106e1848d">&#9670;&nbsp;</a></span>removeItem() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::removeItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the specified item from the plot.</p>
<p>Returns true on success.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a>, <a class="el" href="class_q_custom_plot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> </dd></dl>

</div>
</div>
<a id="abcfdda3d601c0441cab136137d715dea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcfdda3d601c0441cab136137d715dea">&#9670;&nbsp;</a></span>removeItem() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::removeItem </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Removes the item by its <em>index</em>. </p>

</div>
</div>
<a id="a40f75e342c5eaab6a86066a42a0e2a94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40f75e342c5eaab6a86066a42a0e2a94">&#9670;&nbsp;</a></span>removeLayer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::removeLayer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
          <td class="paramname"><em>layer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the specified <em>layer</em> and returns true on success.</p>
<p>All layerables (e.g. plottables and items) on the removed layer will be moved to the layer below <em>layer</em>. If <em>layer</em> is the bottom layer, the layerables are moved to the layer above. In both cases, the total rendering order of all layerables in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is preserved.</p>
<p>If <em>layer</em> is the current layer (<a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a>), the layer below (or above, if bottom layer) becomes the new current layer.</p>
<p>It is not possible to remove the last layer of the plot.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a0a96244e7773b242ef23c32b7bdfb159">layer</a>, <a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>

</div>
</div>
<a id="af3dafd56884208474f311d6226513ab2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3dafd56884208474f311d6226513ab2">&#9670;&nbsp;</a></span>removePlottable() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::removePlottable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
          <td class="paramname"><em>plottable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the specified plottable from the plot and, if necessary, from the legend (<a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>).</p>
<p>Returns true on success.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>, <a class="el" href="class_q_custom_plot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> </dd></dl>

</div>
</div>
<a id="afc210e0021480f8119bccf37839dbcc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc210e0021480f8119bccf37839dbcc8">&#9670;&nbsp;</a></span>removePlottable() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::removePlottable </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Removes the plottable by its <em>index</em>. </p>

</div>
</div>
<a id="a606fd384b2a637ce2c24899bcbde77d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a606fd384b2a637ce2c24899bcbde77d6">&#9670;&nbsp;</a></span>replot()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::replot </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39">QCustomPlot::RefreshPriority</a>&#160;</td>
          <td class="paramname"><em>refreshPriority</em> = <code><a class="el" href="class_q_custom_plot.html#a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332">QCustomPlot::rpHint</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Causes a complete replot into the internal buffer. Finally, update() is called, to redraw the buffer on the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget surface. This is the method that must be called to make changes, for example on the axis ranges or data points of graphs, visible.</p>
<p>Under a few circumstances, <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> causes a replot by itself. Those are resize events of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget and user interactions (object selection and range dragging/zooming).</p>
<p>Before the replot happens, the signal <a class="el" href="class_q_custom_plot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> is emitted. After the replot, <a class="el" href="class_q_custom_plot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> is emitted. It is safe to mutually connect the replot slot with any of those two signals on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion. </p>

</div>
</div>
<a id="ad86528f2cee6c7e446dea4a6e8839935"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad86528f2cee6c7e446dea4a6e8839935">&#9670;&nbsp;</a></span>rescaleAxes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::rescaleAxes </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>onlyVisiblePlottables</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Rescales the axes such that all plottables (like graphs) in the plot are fully visible.</p>
<p>if <em>onlyVisiblePlottables</em> is set to true, only the plottables that have their visibility set to true (<a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLayerable::setVisible</a>), will be used to rescale the axes.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_abstract_plottable.html#a1491c4a606bccd2d09e65e11b79eb882">QCPAbstractPlottable::rescaleAxes</a>, <a class="el" href="class_q_c_p_axis.html#a499345f02ebce4b23d8ccec96e58daa9">QCPAxis::rescale</a> </dd></dl>

</div>
</div>
<a id="a6629d9e8e6da4bf18055ee0257fdce9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6629d9e8e6da4bf18055ee0257fdce9a">&#9670;&nbsp;</a></span>saveBmp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::saveBmp </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Saves a BMP image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
<p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
<p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to place objects with sub-pixel accuracy.</p>
<dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>Returns true on success. If this function fails, most likely the BMP format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>

</div>
</div>
<a id="a490c722092d1771e8ce4a7a73dfd84ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a490c722092d1771e8ce4a7a73dfd84ab">&#9670;&nbsp;</a></span>saveJpg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::saveJpg </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>quality</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Saves a JPG image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
<p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
<p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to place objects with sub-pixel accuracy.</p>
<dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>JPG compression can be controlled with the <em>quality</em> parameter which must be between 0 and 100 or -1 to use the default setting.</p>
<p>Returns true on success. If this function fails, most likely the JPG format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>

</div>
</div>
<a id="a632da44c6d94ea8b271eb483b08b5114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a632da44c6d94ea8b271eb483b08b5114">&#9670;&nbsp;</a></span>savePdf()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::savePdf </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noCosmeticPen</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pdfCreator</em> = <code>QString()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pdfTitle</em> = <code>QString()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Saves a PDF with the vectorized plot to the file <em>fileName</em>. The axis ratio as well as the scale of texts and lines will be derived from the specified <em>width</em> and <em>height</em>. This means, the output will look like the normal on-screen output of a <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget with the corresponding pixel width and height. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has.</p>
<p><em>noCosmeticPen</em> disables the use of cosmetic pens when drawing to the PDF file. Cosmetic pens are pens with numerical width 0, which are always drawn as a one pixel wide line, no matter what zoom factor is set in the PDF-Viewer. For more information about cosmetic pens, see the QPainter and QPen documentation.</p>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>Returns true on success.</p>
<dl class="section warning"><dt>Warning</dt><dd><ul>
<li>If you plan on editing the exported PDF file with a vector graphics editor like Inkscape, it is advised to set <em>noCosmeticPen</em> to true to avoid losing those cosmetic lines (which might be quite many, because cosmetic pens are the default for e.g. axes and tick marks). </li>
<li>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</li>
</ul>
<em>pdfCreator</em> and <em>pdfTitle</em> may be used to set the according metadata fields in the resulting PDF file.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>On Android systems, this method does nothing and issues an according qDebug warning message. This is also the case if for other reasons the define flag QT_NO_PRINTER is set.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>

</div>
</div>
<a id="a7636261aff1f6d25c9da749ece3fc8b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7636261aff1f6d25c9da749ece3fc8b8">&#9670;&nbsp;</a></span>savePng()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::savePng </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>quality</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Saves a PNG image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
<p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
<p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to place objects with sub-pixel accuracy.</p>
<dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>If you want the PNG to have a transparent background, call <a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>(const QBrush &amp;brush) with no brush (Qt::NoBrush) or a transparent color (Qt::transparent), before saving.</p>
<p>PNG compression can be controlled with the <em>quality</em> parameter which must be between 0 and 100 or -1 to use the default setting.</p>
<p>Returns true on success. If this function fails, most likely the PNG format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>

</div>
</div>
<a id="ab528b84cf92baabe29b1d0ef2f77c93e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab528b84cf92baabe29b1d0ef2f77c93e">&#9670;&nbsp;</a></span>saveRastered()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::saveRastered </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>quality</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Saves the plot to a rastered image file <em>fileName</em> in the image format <em>format</em>. The plot is sized to <em>width</em> and <em>height</em> in pixels and scaled with <em>scale</em>. (width 100 and scale 2.0 lead to a full resolution file with width 200.) If the <em>format</em> supports compression, <em>quality</em> may be between 0 and 100 to control it.</p>
<p>Returns true on success. If this function fails, most likely the given <em>format</em> isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> </dd></dl>

</div>
</div>
<a id="a7e6b07792b1cb2c31681596582d14dbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e6b07792b1cb2c31681596582d14dbe">&#9670;&nbsp;</a></span>selectedAxes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * &gt; QCustomPlot::selectedAxes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the axes that currently have selected parts, i.e. whose selection state is not <a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115fae0df8123a5528d5ccf87cb7794f971ea">QCPAxis::spNone</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#ac87624ddff1cbf4064781a8e8ae321c4">selectedLegends</a>, <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_axis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">QCPAxis::setSelectedParts</a>, <a class="el" href="class_q_c_p_axis.html#a513f9b9e326c505d9bec54880031b085">QCPAxis::setSelectableParts</a> </dd></dl>

</div>
</div>
<a id="ad3547aded026d8a9ae6ef13a69080d06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3547aded026d8a9ae6ef13a69080d06">&#9670;&nbsp;</a></span>selectedGraphs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * &gt; QCustomPlot::selectedGraphs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a list of the selected graphs. If no graphs are currently selected, the list is empty.</p>
<p>If you are not only interested in selected graphs but other plottables like <a class="el" href="class_q_c_p_curve.html" title="A plottable representing a parametric curve in a plot. ">QCPCurve</a>, <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a>, etc., use <a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#afbd5428c2952f59d952e11ab5cd79176">QCPAbstractPlottable::setSelected</a> </dd></dl>

</div>
</div>
<a id="afda487bcf2d6cf1a57173d82495e29ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afda487bcf2d6cf1a57173d82495e29ba">&#9670;&nbsp;</a></span>selectedItems()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * &gt; QCustomPlot::selectedItems </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a list of the selected items. If no items are currently selected, the list is empty.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_abstract_item.html#a8a8e32a55bc478b849756a78c2d87fd2">QCPAbstractItem::setSelectable</a>, <a class="el" href="class_q_c_p_abstract_item.html#a203de94ad586cc44d16c9565f49d3378">QCPAbstractItem::setSelected</a> </dd></dl>

</div>
</div>
<a id="ac87624ddff1cbf4064781a8e8ae321c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac87624ddff1cbf4064781a8e8ae321c4">&#9670;&nbsp;</a></span>selectedLegends()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * &gt; QCustomPlot::selectedLegends </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the legends that currently have selected parts, i.e. whose selection state is not <a class="el" href="class_q_c_p_legend.html#a5404de8bc1e4a994ca4ae69e2c7072f1a378201c07d500af7126e3ec91652eed7">QCPLegend::spNone</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#a7e6b07792b1cb2c31681596582d14dbe">selectedAxes</a>, <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_legend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">QCPLegend::setSelectedParts</a>, <a class="el" href="class_q_c_p_legend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">QCPLegend::setSelectableParts</a>, <a class="el" href="class_q_c_p_legend.html#ac7d9e567d5c551e09cd9bcc4306c5532">QCPLegend::selectedItems</a> </dd></dl>

</div>
</div>
<a id="a747faaab57c56891e901a1e97fa4359a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a747faaab57c56891e901a1e97fa4359a">&#9670;&nbsp;</a></span>selectedPlottables()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * &gt; QCustomPlot::selectedPlottables </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a list of the selected plottables. If no plottables are currently selected, the list is empty.</p>
<p>There is a convenience function if you're only interested in selected graphs, see <a class="el" href="class_q_custom_plot.html#ad3547aded026d8a9ae6ef13a69080d06">selectedGraphs</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#afbd5428c2952f59d952e11ab5cd79176">QCPAbstractPlottable::setSelected</a> </dd></dl>

</div>
</div>
<a id="a500c64a109bc773c973ad274f2fa4190"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a500c64a109bc773c973ad274f2fa4190">&#9670;&nbsp;</a></span>selectionChangedByUser</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::selectionChangedByUser </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted after the user has changed the selection in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, e.g. by clicking. It is not emitted when the selection state of an object has changed programmatically by a direct call to setSelected() on an object or by calling <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a>.</p>
<p>In addition to this signal, selectable objects also provide individual signals, for example <a class="el" href="class_q_c_p_axis.html#a62b598abeee7174a05f9d542cc85b1f5">QCPAxis::selectionChanged</a> or <a class="el" href="class_q_c_p_abstract_plottable.html#a3af66432b1dca93b28e00e78a8c7c1d9">QCPAbstractPlottable::selectionChanged</a>. Note that those signals are emitted even if the selection state is changed programmatically.</p>
<p>See the documentation of <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> for details about the selection mechanism.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#ad3547aded026d8a9ae6ef13a69080d06">selectedGraphs</a>, <a class="el" href="class_q_custom_plot.html#afda487bcf2d6cf1a57173d82495e29ba">selectedItems</a>, <a class="el" href="class_q_custom_plot.html#a7e6b07792b1cb2c31681596582d14dbe">selectedAxes</a>, <a class="el" href="class_q_custom_plot.html#ac87624ddff1cbf4064781a8e8ae321c4">selectedLegends</a> </dd></dl>

</div>
</div>
<a id="aeef813bcf7efab8e765f9f87ec454691"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeef813bcf7efab8e765f9f87ec454691">&#9670;&nbsp;</a></span>setAntialiasedElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setAntialiasedElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>&#160;</td>
          <td class="paramname"><em>antialiasedElement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets whether the specified <em>antialiasedElement</em> is forcibly drawn antialiased.</p>
<p>See <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> for details.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#afc657938a707c890e449ae89203a076d">setNotAntialiasedElement</a> </dd></dl>

</div>
</div>
<a id="af6f91e5eab1be85f67c556e98c3745e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6f91e5eab1be85f67c556e98c3745e8">&#9670;&nbsp;</a></span>setAntialiasedElements()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setAntialiasedElements </td>
          <td>(</td>
          <td class="paramtype">const QCP::AntialiasedElements &amp;&#160;</td>
          <td class="paramname"><em>antialiasedElements</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets which elements are forcibly drawn antialiased as an <em>or</em> combination of <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>.</p>
<p>This overrides the antialiasing settings for whole element groups, normally controlled with the <em>setAntialiasing</em> function on the individual elements. If an element is neither specified in <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> nor in <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, the antialiasing setting on each individual element instance is used.</p>
<p>For example, if <em>antialiasedElements</em> contains <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6">QCP::aePlottables</a>, all plottables will be drawn antialiased, no matter what the specific <a class="el" href="class_q_c_p_layerable.html#a4fd43e89be4a553ead41652565ff0581">QCPAbstractPlottable::setAntialiased</a> value was set to.</p>
<p>if an element in <em>antialiasedElements</em> is already set in <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, it is removed from there.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> </dd></dl>

</div>
</div>
<a id="ad8858410c2db47b7104040a3aa61c3fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8858410c2db47b7104040a3aa61c3fc">&#9670;&nbsp;</a></span>setAutoAddPlottableToLegend()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setAutoAddPlottableToLegend </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If set to true, adding a plottable (e.g. a graph) to the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> automatically also adds the plottable to the legend (<a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a>, <a class="el" href="class_q_c_p_legend.html#a3ab274de52d2951faea45a6d975e6b3f">QCPLegend::addItem</a> </dd></dl>

</div>
</div>
<a id="a130358592cfca353ff3cf5571b49fb00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a130358592cfca353ff3cf5571b49fb00">&#9670;&nbsp;</a></span>setBackground() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setBackground </td>
          <td>(</td>
          <td class="paramtype">const QPixmap &amp;&#160;</td>
          <td class="paramname"><em>pm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets <em>pm</em> as the viewport background pixmap (see <a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a>). The pixmap is always drawn below all other objects in the plot.</p>
<p>For cases where the provided pixmap doesn't have the same size as the viewport, scaling can be enabled with <a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> and the scaling mode (whether and how the aspect ratio is preserved) can be set with <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a>. To set all these options in one call, consider using the overloaded version of this function.</p>
<p>If a background brush was set with <a class="el" href="class_q_custom_plot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground(const QBrush &amp;brush)</a>, the viewport will first be filled with that brush, before drawing the background pixmap. This can be useful for background pixmaps with translucent areas.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>

</div>
</div>
<a id="a8513971d6aa24d8b0d6a68d45b542130"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8513971d6aa24d8b0d6a68d45b542130">&#9670;&nbsp;</a></span>setBackground() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setBackground </td>
          <td>(</td>
          <td class="paramtype">const QPixmap &amp;&#160;</td>
          <td class="paramname"><em>pm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>scaled</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::AspectRatioMode&#160;</td>
          <td class="paramname"><em>mode</em> = <code>Qt::KeepAspectRatioByExpanding</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Allows setting the background pixmap of the viewport, whether it shall be scaled and how it shall be scaled in one call.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground(const QPixmap &amp;pm)</a>, <a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>

</div>
</div>
<a id="a8ed256cf467bfa7ba1f9feaae62c3bd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ed256cf467bfa7ba1f9feaae62c3bd0">&#9670;&nbsp;</a></span>setBackground() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setBackground </td>
          <td>(</td>
          <td class="paramtype">const QBrush &amp;&#160;</td>
          <td class="paramname"><em>brush</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the background brush of the viewport (see <a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a>).</p>
<p>Before drawing everything else, the background is filled with <em>brush</em>. If a background pixmap was set with <a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground(const QPixmap &amp;pm)</a>, this brush will be used to fill the viewport before the background pixmap is drawn. This can be useful for background pixmaps with translucent areas.</p>
<p>Set <em>brush</em> to Qt::NoBrush or Qt::Transparent to leave background transparent. This can be useful for exporting to image formats which support transparency, e.g. <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>

</div>
</div>
<a id="a36f0fa1317325dc7b7efea615ee2de1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36f0fa1317325dc7b7efea615ee2de1f">&#9670;&nbsp;</a></span>setBackgroundScaled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setBackgroundScaled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>scaled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets whether the viewport background pixmap shall be scaled to fit the viewport. If <em>scaled</em> is set to true, control whether and how the aspect ratio of the original pixmap is preserved with <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a>.</p>
<p>Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the viewport dimensions are changed continuously.)</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>

</div>
</div>
<a id="a4c0eb4865b7949f62e1cb97db04a3de0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c0eb4865b7949f62e1cb97db04a3de0">&#9670;&nbsp;</a></span>setBackgroundScaledMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setBackgroundScaledMode </td>
          <td>(</td>
          <td class="paramtype">Qt::AspectRatioMode&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If scaling of the viewport background pixmap is enabled (<a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>), use this function to define whether and how the aspect ratio of the original pixmap is preserved.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, <a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> </dd></dl>

</div>
</div>
<a id="a73a6dc47c653bb6f8f030abca5a11852"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73a6dc47c653bb6f8f030abca5a11852">&#9670;&nbsp;</a></span>setCurrentLayer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::setCurrentLayer </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the layer with the specified <em>name</em> to be the current layer. All layerables (<a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a>), e.g. plottables and items, are created on the current layer.</p>
<p>Returns true on success, i.e. if there is a layer with the specified <em>name</em> in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<p>Layer names are case-sensitive.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a>, <a class="el" href="class_q_c_p_layerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">QCPLayerable::setLayer</a> </dd></dl>

</div>
</div>
<a id="a23a4d3cadad1a0063c5fe19aac5659e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23a4d3cadad1a0063c5fe19aac5659e6">&#9670;&nbsp;</a></span>setCurrentLayer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QCustomPlot::setCurrentLayer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
          <td class="paramname"><em>layer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
<p>Sets the provided <em>layer</em> to be the current layer.</p>
<p>Returns true on success, i.e. when <em>layer</em> is a valid layer in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>

</div>
</div>
<a id="a422bf1bc6d56dac75a3d805d9a65902c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a422bf1bc6d56dac75a3d805d9a65902c">&#9670;&nbsp;</a></span>setInteraction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setInteraction </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> &amp;&#160;</td>
          <td class="paramname"><em>interaction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the single <em>interaction</em> of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to <em>enabled</em>.</p>
<p>For details about the interaction system, see <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>

</div>
</div>
<a id="a5ee1e2f6ae27419deca53e75907c27e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ee1e2f6ae27419deca53e75907c27e5">&#9670;&nbsp;</a></span>setInteractions()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setInteractions </td>
          <td>(</td>
          <td class="paramtype">const QCP::Interactions &amp;&#160;</td>
          <td class="paramname"><em>interactions</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the possible interactions of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> as an or-combination of <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> enums. There are the following types of interactions:</p>
<p><b>Axis range manipulation</b> is controlled via <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> and <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a>. When the respective interaction is enabled, the user may drag axes ranges and zoom with the mouse wheel. For details how to control which axes the user may drag/zoom and in what orientations, see <a class="el" href="class_q_c_p_axis_rect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a>, <a class="el" href="class_q_c_p_axis_rect.html#a7960a9d222f1c31d558b064b60f86a31">QCPAxisRect::setRangeZoom</a>, <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>, <a class="el" href="class_q_c_p_axis_rect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a>.</p>
<p><b>Plottable selection</b> is controlled by <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec">QCP::iSelectPlottables</a>. If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec">QCP::iSelectPlottables</a> is set, the user may select plottables (graphs, curves, bars,...) by clicking on them or in their vicinity (<a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>). Whether the user can actually select a plottable can further be restricted with the <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a> function on the specific plottable. To find out whether a specific plottable is selected, call QCPAbstractPlottable::selected(). To retrieve a list of all currently selected plottables, call <a class="el" href="class_q_custom_plot.html#a747faaab57c56891e901a1e97fa4359a">selectedPlottables</a>. If you're only interested in QCPGraphs, you may use the convenience function <a class="el" href="class_q_custom_plot.html#ad3547aded026d8a9ae6ef13a69080d06">selectedGraphs</a>.</p>
<p><b>Item selection</b> is controlled by <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260">QCP::iSelectItems</a>. If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260">QCP::iSelectItems</a> is set, the user may select items (<a class="el" href="class_q_c_p_item_line.html" title="A line from one point to another. ">QCPItemLine</a>, <a class="el" href="class_q_c_p_item_text.html" title="A text label. ">QCPItemText</a>,...) by clicking on them or in their vicinity. To find out whether a specific item is selected, call QCPAbstractItem::selected(). To retrieve a list of all currently selected items, call <a class="el" href="class_q_custom_plot.html#afda487bcf2d6cf1a57173d82495e29ba">selectedItems</a>.</p>
<p><b>Axis selection</b> is controlled with <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa">QCP::iSelectAxes</a>. If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa">QCP::iSelectAxes</a> is set, the user may select parts of the axes by clicking on them. What parts exactly (e.g. Axis base line, tick labels, axis label) are selectable can be controlled via <a class="el" href="class_q_c_p_axis.html#a513f9b9e326c505d9bec54880031b085">QCPAxis::setSelectableParts</a> for each axis. To retrieve a list of all axes that currently contain selected parts, call <a class="el" href="class_q_custom_plot.html#a7e6b07792b1cb2c31681596582d14dbe">selectedAxes</a>. Which parts of an axis are selected, can be retrieved with QCPAxis::selectedParts().</p>
<p><b>Legend selection</b> is controlled with <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a269c9af298e257d1108edec0432b5513">QCP::iSelectLegend</a>. If this is set, the user may select the legend itself or individual items by clicking on them. What parts exactly are selectable can be controlled via <a class="el" href="class_q_c_p_legend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">QCPLegend::setSelectableParts</a>. To find out whether the legend or any of its child items are selected, check the value of QCPLegend::selectedParts. To find out which child items are selected, call <a class="el" href="class_q_c_p_legend.html#ac7d9e567d5c551e09cd9bcc4306c5532">QCPLegend::selectedItems</a>.</p>
<p><b>All other selectable elements</b> The selection of all other selectable objects (e.g. <a class="el" href="class_q_c_p_plot_title.html" title="A layout element displaying a plot title text. ">QCPPlotTitle</a>, or your own layerable subclasses) is controlled with <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949">QCP::iSelectOther</a>. If set, the user may select those objects by clicking on them. To find out which are currently selected, you need to check their selected state explicitly.</p>
<p>If the selection state has changed by user interaction, the <a class="el" href="class_q_custom_plot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> signal is emitted. Each selectable object additionally emits an individual selectionChanged signal whenever their selection state has changed, i.e. not only by user interaction.</p>
<p>To allow multiple objects to be selected by holding the selection modifier (<a class="el" href="class_q_custom_plot.html#a8fc96e3b5138a06759a2a90c166df516">setMultiSelectModifier</a>), set the flag <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d">QCP::iMultiSelect</a>.</p>
<dl class="section note"><dt>Note</dt><dd>In addition to the selection mechanism presented here, <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> always emits corresponding signals, when an object is clicked or double clicked. see <a class="el" href="class_q_custom_plot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> and <a class="el" href="class_q_custom_plot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> for example.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a422bf1bc6d56dac75a3d805d9a65902c">setInteraction</a>, <a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a> </dd></dl>

</div>
</div>
<a id="a8fc96e3b5138a06759a2a90c166df516"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fc96e3b5138a06759a2a90c166df516">&#9670;&nbsp;</a></span>setMultiSelectModifier()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setMultiSelectModifier </td>
          <td>(</td>
          <td class="paramtype">Qt::KeyboardModifier&#160;</td>
          <td class="paramname"><em>modifier</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the keyboard modifier that will be recognized as multi-select-modifier.</p>
<p>If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d">QCP::iMultiSelect</a> is specified in <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, the user may select multiple objects by clicking on them one after the other while holding down <em>modifier</em>.</p>
<p>By default the multi-select-modifier is set to Qt::ControlModifier.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>

</div>
</div>
<a id="a775bdcb6329d44701aeaa6135b0e5265"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a775bdcb6329d44701aeaa6135b0e5265">&#9670;&nbsp;</a></span>setNoAntialiasingOnDrag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setNoAntialiasingOnDrag </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets whether antialiasing is disabled for this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> while the user is dragging axes ranges. If many objects, especially plottables, are drawn antialiased, this greatly improves performance during dragging. Thus it creates a more responsive user experience. As soon as the user stops dragging, the last replot is done with normal antialiasing, to restore high image quality.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a>, <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> </dd></dl>

</div>
</div>
<a id="afc657938a707c890e449ae89203a076d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc657938a707c890e449ae89203a076d">&#9670;&nbsp;</a></span>setNotAntialiasedElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setNotAntialiasedElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>&#160;</td>
          <td class="paramname"><em>notAntialiasedElement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets whether the specified <em>notAntialiasedElement</em> is forcibly drawn not antialiased.</p>
<p>See <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> for details.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aeef813bcf7efab8e765f9f87ec454691">setAntialiasedElement</a> </dd></dl>

</div>
</div>
<a id="ae10d685b5eabea2999fb8775ca173c24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae10d685b5eabea2999fb8775ca173c24">&#9670;&nbsp;</a></span>setNotAntialiasedElements()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setNotAntialiasedElements </td>
          <td>(</td>
          <td class="paramtype">const QCP::AntialiasedElements &amp;&#160;</td>
          <td class="paramname"><em>notAntialiasedElements</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets which elements are forcibly drawn not antialiased as an <em>or</em> combination of <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>.</p>
<p>This overrides the antialiasing settings for whole element groups, normally controlled with the <em>setAntialiasing</em> function on the individual elements. If an element is neither specified in <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> nor in <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, the antialiasing setting on each individual element instance is used.</p>
<p>For example, if <em>notAntialiasedElements</em> contains <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6">QCP::aePlottables</a>, no plottables will be drawn antialiased, no matter what the specific <a class="el" href="class_q_c_p_layerable.html#a4fd43e89be4a553ead41652565ff0581">QCPAbstractPlottable::setAntialiased</a> value was set to.</p>
<p>if an element in <em>notAntialiasedElements</em> is already set in <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a>, it is removed from there.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> </dd></dl>

</div>
</div>
<a id="a3b7c97bb6c16464e9e15190c07abe9a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b7c97bb6c16464e9e15190c07abe9a9">&#9670;&nbsp;</a></span>setPlottingHint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setPlottingHint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a>&#160;</td>
          <td class="paramname"><em>hint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the specified plotting <em>hint</em> to <em>enabled</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> </dd></dl>

</div>
</div>
<a id="a94a33cbdadbbac5934843508bcfc210d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94a33cbdadbbac5934843508bcfc210d">&#9670;&nbsp;</a></span>setPlottingHints()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setPlottingHints </td>
          <td>(</td>
          <td class="paramtype">const QCP::PlottingHints &amp;&#160;</td>
          <td class="paramname"><em>hints</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the plotting hints for this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance as an <em>or</em> combination of <a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a3b7c97bb6c16464e9e15190c07abe9a9">setPlottingHint</a> </dd></dl>

</div>
</div>
<a id="a4dc31241d7b09680950e19e5f971ed93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dc31241d7b09680950e19e5f971ed93">&#9670;&nbsp;</a></span>setSelectionTolerance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setSelectionTolerance </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pixels</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the tolerance that is used to decide whether a click selects an object (e.g. a plottable) or not.</p>
<p>If the user clicks in the vicinity of the line of e.g. a <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, it's only regarded as a potential selection when the minimum distance between the click position and the graph line is smaller than <em>pixels</em>. Objects that are defined by an area (e.g. <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a>) only react to clicks directly inside the area and ignore this selection tolerance. In other words, it only has meaning for parts of objects that are too thin to exactly hit with a click and thus need such a tolerance.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_layerable.html#a04db8351fefd44cfdb77958e75c6288e">QCPLayerable::selectTest</a> </dd></dl>

</div>
</div>
<a id="a3f9bc4b939dd8aaba9339fd09f273fc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f9bc4b939dd8aaba9339fd09f273fc4">&#9670;&nbsp;</a></span>setViewport()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::setViewport </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the viewport of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>. The Viewport is the area that the top level layout (<a class="el" href="class_q_custom_plot.html#af1a1f1f571237deb7c2bd34a5e9f018f">QCustomPlot::plotLayout()</a>) uses as its rect. Normally, the viewport is the entire widget rect.</p>
<p>This function is used to allow arbitrary size exports with <a class="el" href="class_q_custom_plot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, etc. by temporarily changing the viewport size. </p>

</div>
</div>
<a id="a2137a819e518fee7edd1c0bf5984d8d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2137a819e518fee7edd1c0bf5984d8d6">&#9670;&nbsp;</a></span>titleClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::titleClick </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *&#160;</td>
          <td class="paramname"><em>title</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plot title is clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>title</em> is the plot title that received the click.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">titleDoubleClick</a> </dd></dl>

</div>
</div>
<a id="ad51d65f6abf5edfaeef6e0519a4c1a2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad51d65f6abf5edfaeef6e0519a4c1a2f">&#9670;&nbsp;</a></span>titleDoubleClick</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::titleDoubleClick </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *&#160;</td>
          <td class="paramname"><em>title</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plot title is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>title</em> is the plot title that received the click.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a2137a819e518fee7edd1c0bf5984d8d6">titleClick</a> </dd></dl>

</div>
</div>
<a id="a1be68d5c0f1e086d6374d1340a193fb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1be68d5c0f1e086d6374d1340a193fb9">&#9670;&nbsp;</a></span>toPainter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QCustomPlot::toPainter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
          <td class="paramname"><em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Renders the plot using the passed <em>painter</em>.</p>
<p>The plot is sized to <em>width</em> and <em>height</em> in pixels. If the <em>painter's</em> scale is not 1.0, the resulting plot will appear scaled accordingly.</p>
<dl class="section note"><dt>Note</dt><dd>If you are restricted to using a QPainter (instead of <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a>), create a temporary QPicture and open a <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a> on it. Then call <a class="el" href="class_q_custom_plot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a> with this <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a>. After ending the paint operation on the picture, draw it with the QPainter. This will reproduce the painter actions the <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a> took, with a QPainter.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> </dd></dl>

</div>
</div>
<a id="aabb974d71ce96c137dc04eb6eab844fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabb974d71ce96c137dc04eb6eab844fe">&#9670;&nbsp;</a></span>toPixmap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPixmap QCustomPlot::toPixmap </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Renders the plot to a pixmap and returns it.</p>
<p>The plot is sized to <em>width</em> and <em>height</em> in pixels and scaled with <em>scale</em>. (width 100 and scale 2.0 lead to a full resolution pixmap with width 200.)</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> </dd></dl>

</div>
</div>
<a id="a19842409b18f556b256d05e97fffc670"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19842409b18f556b256d05e97fffc670">&#9670;&nbsp;</a></span>viewport()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QRect QCustomPlot::viewport </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the viewport rect of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance. The viewport is the area the plot is drawn in, all mechanisms, e.g. margin caluclation take the viewport to be the outer border of the plot. The viewport normally is the rect() of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget, i.e. a rect with top left (0, 0) and size of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget.</p>
<p>Don't confuse the viewport with the axis rect (<a class="el" href="class_q_custom_plot.html#ae5eefcb5f6ca26689b1fd4f6e25b42f9">QCustomPlot::axisRect</a>). An axis rect is typically an area enclosed by four axes, where the graphs/plottables are drawn in. The viewport is larger and contains also the axes themselves, their tick numbers, their labels, the plot title etc.</p>
<p>Only when saving to a file (see <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> etc.) the viewport is temporarily modified to allow saving plots with sizes independent of the current widget size. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4eadcd237dc6a09938b68b16877fa6af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4eadcd237dc6a09938b68b16877fa6af">&#9670;&nbsp;</a></span>legend</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * QCustomPlot::legend</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A pointer to the default legend of the main axis rect. The legend is invisible by default. Use <a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLegend::setVisible</a> to change this.</p>
<p><a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> offers convenient pointers to the axes (<a class="el" href="class_q_custom_plot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="class_q_custom_plot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="class_q_custom_plot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="class_q_custom_plot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="">the layout system</a> to add multiple legends to the plot, use the layout system interface to access the new legend. For example, legends can be placed inside an axis rect's <a class="el" href="class_q_c_p_axis_rect.html#a949f803466619924c7018df4b511ae10">inset layout</a>, and must then also be accessed via the inset layout. If the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointer becomes 0. </p>

</div>
</div>
<a id="a9a79cd0158a4c7f30cbc702f0fd800e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a79cd0158a4c7f30cbc702f0fd800e4">&#9670;&nbsp;</a></span>xAxis</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * QCustomPlot::xAxis</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A pointer to the primary x Axis (bottom) of the main axis rect of the plot.</p>
<p><a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> offers convenient pointers to the axes (<a class="el" href="class_q_custom_plot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="class_q_custom_plot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="class_q_custom_plot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="class_q_custom_plot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="class_q_c_p_axis_rect.html#a583ae4f6d78b601b732183f6cabecbe1">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>

</div>
</div>
<a id="ada41599f22cad901c030f3dcbdd82fd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada41599f22cad901c030f3dcbdd82fd9">&#9670;&nbsp;</a></span>xAxis2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * QCustomPlot::xAxis2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A pointer to the secondary x Axis (top) of the main axis rect of the plot. Secondary axes are invisible by default. Use <a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPAxis::setVisible</a> to change this (or use <a class="el" href="class_q_c_p_axis_rect.html#a5fa906175447b14206954f77fc7f1ef4">QCPAxisRect::setupFullAxesBox</a>).</p>
<p><a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> offers convenient pointers to the axes (<a class="el" href="class_q_custom_plot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="class_q_custom_plot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="class_q_custom_plot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="class_q_custom_plot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="class_q_c_p_axis_rect.html#a583ae4f6d78b601b732183f6cabecbe1">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>

</div>
</div>
<a id="af6fea5679725b152c14facd920b19367"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6fea5679725b152c14facd920b19367">&#9670;&nbsp;</a></span>yAxis</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * QCustomPlot::yAxis</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A pointer to the primary y Axis (left) of the main axis rect of the plot.</p>
<p><a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> offers convenient pointers to the axes (<a class="el" href="class_q_custom_plot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="class_q_custom_plot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="class_q_custom_plot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="class_q_custom_plot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="class_q_c_p_axis_rect.html#a583ae4f6d78b601b732183f6cabecbe1">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>

</div>
</div>
<a id="af13fdc5bce7d0fabd640f13ba805c0b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af13fdc5bce7d0fabd640f13ba805c0b7">&#9670;&nbsp;</a></span>yAxis2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * QCustomPlot::yAxis2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A pointer to the secondary y Axis (right) of the main axis rect of the plot. Secondary axes are invisible by default. Use <a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPAxis::setVisible</a> to change this (or use <a class="el" href="class_q_c_p_axis_rect.html#a5fa906175447b14206954f77fc7f1ef4">QCPAxisRect::setupFullAxesBox</a>).</p>
<p><a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> offers convenient pointers to the axes (<a class="el" href="class_q_custom_plot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="class_q_custom_plot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="class_q_custom_plot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="class_q_custom_plot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="class_q_custom_plot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="class_q_c_p_axis_rect.html#a583ae4f6d78b601b732183f6cabecbe1">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/charts/qcustomplot/<a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/charts/qcustomplot/<a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
